package Car.model;
import Car.model.spr.*;

import java.io.Serializable;

import java.util.Date;
import java.util.Set;

/**
 * Created by Новак on 27.11.2014.
 */
public class Transport implements Serializable{
    private int id;
    private spr_Brand spr_brand;
    private double price;
    private Date issue_date;
    private spr_Currency spr_currency;
    private spr_Condition spr_condition;
    private spr_Color spr_color;
    private spr_TransportType spr_transportType;
    private String description;
    private Set<Car> car;

    public Transport(){}

    public Transport(spr_Brand spr_brand, double price, Date issue_date, spr_Currency spr_currency, spr_Condition spr_condition, spr_Color spr_color, spr_TransportType spr_transportType, String description) {
        this.spr_brand = spr_brand;
        this.price = price;
        this.issue_date = issue_date;
        this.spr_currency = spr_currency;
        this.spr_condition = spr_condition;
        this.spr_color = spr_color;
        this.spr_transportType = spr_transportType;
        this.description = description;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public spr_Brand getSpr_brand() {
        return spr_brand;
    }

    public void setSpr_brand(spr_Brand spr_brand) {
        this.spr_brand = spr_brand;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public Date getIssue_date() {
        return issue_date;
    }

    public void setIssue_date(Date issue_date) {
        this.issue_date = issue_date;
    }

    public spr_Currency getSpr_currency() {
        return spr_currency;
    }

    public void setSpr_currency(spr_Currency spr_currency) {
        this.spr_currency = spr_currency;
    }

    public spr_Condition getSpr_condition() {
        return spr_condition;
    }

    public void setSpr_condition(spr_Condition spr_condition) {
        this.spr_condition = spr_condition;
    }

    public spr_Color getSpr_color() {
        return spr_color;
    }

    public void setSpr_color(spr_Color spr_color) {
        this.spr_color = spr_color;
    }

    public spr_TransportType getSpr_transportType() {
        return spr_transportType;
    }

    public void setSpr_transportType(spr_TransportType spr_transportType) {
        this.spr_transportType = spr_transportType;
    }

    public Set<Car> getCar() {
        return car;
    }

    public void setCar(Set<Car> car) {
        this.car = car;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

}
